package com.study.testSSMPlus.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author wuyu
 * @since 2019-12-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@KeySequence(value = "seq_t_employee")//数据库中创建的序列名
public class TEmployee implements Serializable {

    private static final long serialVersionUID=1L;
    //用户输入策略
    @TableId(type = IdType.INPUT)
    private Integer id;

    private String name;

}
